import { get, post } from './request'

  
  
//登录
export const login = (data: any) => post(`/user/login`, data, "post")

//获取所有用户信息

export const userGetAll = (data: any) => post(`/user/getall`, data, "post")

//删除用户根据id
export const userdelete = (data: any) => post(`/user/delete/${data.id}`, data, "get")

